package com.tm.pay.config;

/* *
 *类名：WechatConfig
 *功能：基础配置类
 *详细：设置帐户有关信息及返回路径
 */

public class WechatConfig2 {
	
	
	public enum SignType {
        MD5, HMACSHA256
    }

	//↓↓↓↓↓↓↓↓↓↓请在这里配置您的基本信息↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
	// 商户appid
	public static String APPID = "wx9315a97720f95e83";
	//服务器异步通知页面路径
	public static String notify_url = "http://app.tmaipay.com/order/wechat_callback";
	//页面跳转同步通知页面路径
	public static String return_url = "http://app.tmaipay.com/order/wechat_callback";
	
	// 编码
	public static String CHARSET = "UTF-8";
	// 返回格式
	public static String FORMAT = "json";
	// 日志记录目录
	public static String log_path = "/log";
	// RSA2
	public static String MD5 = "MD5";
	
	public static String APP_TRADE_TYPE = "APP";
	
	public static String JS_TRADE_TYPE = "JSAPI";
	
	public static String VERSION = "1.0";
	//商户号
	public static String MCHID = "1494694102";
	//商户API秘钥
	public static String MCHKEY = "b57XbVgxTlY1Ti4qRudyCa1l41kq3gPr";
	
	
	//公众号支付商户号 
	public static String GZ_MCHID = "1500676411";
	//公众号支付商户API秘钥
	public static String GZ_MCHKEY = "MekKBjVrNDcbfE4yRzQEcr5pO8l4YioQ";
	//公众号支付公众号id
	public static String GZ_APPID = "wxab3efc2511e81138";
	
	public static String GZ_SECRET = "2a31023a5772e7271e475cc5c1e9d78e";
	
	public static String SECRET = "c9956595f560eb3ef06c94547b9b38af";
	//微信证书存放路径 微信撤单、退款时使用
//	public static String P12_PATH = "d://apiclient_cert.p12";
	
	public static String P12_PATH = "/usr/local/project/app_81/webapps/apiclient_cert.p12";
}
